networking.wg-quick.interfaces.<name>.privateKeyFile

Private key file as generated by wg genkey.

Type
null or string
Default
null
Example
"/private/wireguard_key"
Declared
<nixpkgs/nixos/modules/services/networking/wg-quick.nix>